package xyz.ddlnt.model.dto;

import com.alibaba.fastjson2.JSONArray;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/7 16:46
 */
@Schema(description = "笔记目录")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class NoteDirDTO {

    @Schema(description = "用户 id")
    private Long userId;
    @Schema(description = "文件(夹)的前节点id（帖子id，没有则为0）")
    private Long dirPrevNodeId;
    @Schema(description = "文件(夹)的子节点（JSON数组）")
    private JSONArray dirChildNodes;
}
